package com.zlf.service;

import com.zlf.po.Business;

import java.util.List;

public interface BusinessService {
    public List<Business> listBusinessByOrderTypeId(Integer orderTypeId);
    public Business getBusinessById(Integer businessId);

    List<Business> listBusiness();

    List<Business> selectBusiness(String key);

    Business login(int businessId,String pass) throws Exception;

    int saveBusiness(Business pram) throws Exception;
    int updateBusiness(Business business);
}